package com.hex.ds.hdtp.core.inf.data.table.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package com.hex.ds.hdtp.core.inf.data.table.po
 * @ClassName TableTransferRunLogPo
 * @Description 表迁移执行记录-PO对象
 * @Author Wang zhihao
 * @Date 2023/8/9 14:15
 * @Version v1.0
 **/
@Data
@TableName(value = "tl_table_transfer_run_log")
public class TableTransferRunLogPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "list_pk_id")
    private String listPkId;

    @TableField(value = "database_name")
    private String databaseName;

    @TableField(value = "table_name")
    private String tableName;

    @TableField(value = "create_sql")
    private String createSql;

    @TableField(value = "message")
    private String message;

    @TableField(value = "crt_user" , fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name" , fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts" , fill = FieldFill.INSERT)
    private String crtTs;

}
